export default{
  install(Vue,options)
  {
    Vue.prototype.msg = function msgTag(code) {

      switch (code) {
        case code = 1000:
          alert("请输入标签！");
          break;
        case code = 1001:
          console.log("请输入正确的账号！");
          break;
        case code = 1002:
          alert("添加成功");
          break;

      }
    }
  }
}

